package com.g1.gzbooksingle.service.impl;

import com.g1.gzbooksingle.model.DgWeekRecommand;
import com.g1.gzbooksingle.mapper.DgWeekRecommandMapper;
import com.g1.gzbooksingle.service.IDgWeekRecommandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 每周推荐表 服务实现类
 * </p>
 *
 * @author admin
 * @since 2021-10-12
 */
@Service
public class DgWeekRecommandServiceImpl extends ServiceImpl<DgWeekRecommandMapper, DgWeekRecommand> implements IDgWeekRecommandService {

    @Autowired
    private DgWeekRecommandMapper dgWeekRecommandMapper;

    @Override
    public DgWeekRecommand getNewWeekRecommand() {
        return dgWeekRecommandMapper.selectNewWeekRecommand();
    }
}
